package com.keelau.ui.view;

import com.keelau.idao.model.AliCatalog;

import java.util.List;

public class AliCatalogTree extends AliCatalog {

    List<AliCatalogTree>  childrens;

    public List<AliCatalogTree> getChildrens() {
        return childrens;
    }

    public void setChildrens(List<AliCatalogTree> childrens) {
        this.childrens = childrens;
    }

    public boolean isLeaf(){
        return  getIsParent()==0;
    }
}
